package com.example.photo.model.domain;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import lombok.Data;

/**
 * 打分
 * @TableName score
 */
@TableName(value ="score")
@Data
public class Score implements Serializable {
    /**
     * 打分id
     */
    @TableId(type = IdType.AUTO)
    private Integer scoreId;

    /**
     * 分数
     */
    private Integer score;

    /**
     * 作品id
     */
    private Integer workId;

    /**
     * 打分人id
     */
    private Integer scorerId;

    /**
     * 是否删除
     */
    @TableLogic
    private Integer isDeleted;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}